package com.wd.service.impl;

import com.wd.dao.DescriptionDao;
import com.wd.dao.impl.DescriptionDaoImpl;
import com.wd.entity.Description;
import com.wd.service.DescriptionService;

public class DescriptionServiceImpl implements DescriptionService {

    DescriptionDao descriptionDao=new DescriptionDaoImpl();

    @Override
    public Description selDescription() throws Exception {
        return descriptionDao.selDescription();
    }

    @Override
    public int updDescription(Description description) throws Exception {
        return descriptionDao.updDescription(description);
    }

    @Override
    public int insDescription(Description description) throws Exception {
        return descriptionDao.insDescription(description);
    }
}
